package com.have.blog.admin.annotation.operationLogger;

import com.have.blog.admin.constant.PlatformEnum;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Created By Have
 * 2021/7/19 10:40
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface OperationLogger {
    String value() default "";

    PlatformEnum platform() default PlatformEnum.Admin;

    boolean save() default true;
}
